<?php
 class FLEA_Db_Exception_SqlQuery extends FLEA_Exception { var $sql; function FLEA_Db_Exception_SqlQuery($sql, $msg = 0, $code = 0) { $this->sql = $sql; if ($msg) { $code = 0x06ff005; $msg = sprintf(_ET($code), $msg, $sql, $code); } else { $code = 0x06ff006; $msg = sprintf(_ET($code), $sql, $code); } parent::FLEA_Exception($msg, $code); } } 